package com.qianbao.qianbaobusiness.json;

import android.support.annotation.Keep;

import java.io.Serializable;

@Keep
public class PayResultCallBackBean implements Serializable {

    /**
     * detail : {"result":"支付失败","code":"000002"}
     * payState : fail
     */

    private DetailBean detail;
    private String payState;

    public DetailBean getDetail() {
        return detail;
    }

    public void setDetail(DetailBean detail) {
        this.detail = detail;
    }

    public String getPayState() {
        return payState;
    }

    public void setPayState(String payState) {
        this.payState = payState;
    }

    public static class DetailBean {
        public DetailBean(String result, String code) {
            this.result = result;
            this.code = code;
        }

        /**
         * result : 支付失败
         * code : 000002
         */


        private String result;
        private String code;

        public DetailBean(String result) {
            this.result = result;
        }

        public String getResult() {
            return result;
        }

        public void setResult(String result) {
            this.result = result;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }
    }
}
